package org.doubango.FrCall.Utils;

import org.doubango.FrCall.Main;
import org.doubango.FrCall.R;

import android.graphics.Color;

public class ControlButton {
	public static void hideButton(){
		Main.dailBtn.setBackgroundColor(Color.rgb(51, 34, 66));
		Main.friendBtn.setBackgroundColor(Color.rgb(51, 34, 66));
		Main.mapBtn.setBackgroundColor(Color.rgb(51, 34, 66));
		Main.msgBtn.setBackgroundColor(Color.rgb(51, 34, 66));
		Main.setBtn.setBackgroundColor(Color.rgb(51, 34, 66));
		Main.smsImg.setBackgroundDrawable(null);
		Main.smsImg.setText("");
	}
	public static void showButton(){
		Main.dailBtn.setBackgroundResource(R.drawable.button_dynamic_call);
		Main.friendBtn.setBackgroundResource(R.drawable.button_dynamic_contacts);
		Main.mapBtn.setBackgroundResource(R.drawable.button_dynamic_web);
		Main.msgBtn.setBackgroundResource(R.drawable.button_dynamic_message);
		Main.setBtn.setBackgroundResource(R.drawable.button_dynamic_set);
		Main.smsImg.setBackgroundResource(R.drawable.sms_notice);
		Main.smsImg.setText("5");
	}
}
